package buaa.qel.rpc.common.message;

public final class Beat {

    public static final int BEAT_INTERVAL = 30;
    public static final int BEAT_TIMEOUT = 2 * BEAT_INTERVAL;
    public static final String BEAT_ID = "BEAT_PING_PONG";

    public static RpcRequestMessage BEAT_MESSAGE;

    static {
        BEAT_MESSAGE = new RpcRequestMessage() {};
        BEAT_MESSAGE.setSequenceId(BEAT_ID);
    }
}
